# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'new_main.ui'
#
# Created: Thu Oct 13 12:58:49 2011
#      by: PyQt4 UI code generator 4.8.5
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.setEnabled(True)
        MainWindow.resize(1000, 680)
        MainWindow.setMinimumSize(QtCore.QSize(0, 300))
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "myCorporisFabrica", None, QtGui.QApplication.UnicodeUTF8))
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/mcfLogo.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        MainWindow.setWindowIcon(icon)
        MainWindow.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates))
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.gridLayout_3 = QtGui.QGridLayout(self.centralwidget)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.tabWidget = QtGui.QTabWidget(self.centralwidget)
        self.tabWidget.setMinimumSize(QtCore.QSize(982, 615))
        font = QtGui.QFont()
        font.setPointSize(9)
        self.tabWidget.setFont(font)
        self.tabWidget.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates))
        self.tabWidget.setIconSize(QtCore.QSize(24, 24))
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tab_EA = QtGui.QWidget()
        self.tab_EA.setObjectName(_fromUtf8("tab_EA"))
        self.gridLayout = QtGui.QGridLayout(self.tab_EA)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.gridLayout_4 = QtGui.QGridLayout()
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setSizeConstraint(QtGui.QLayout.SetFixedSize)
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.horizontalLayout_9 = QtGui.QHBoxLayout()
        self.horizontalLayout_9.setContentsMargins(-1, -1, -1, 20)
        self.horizontalLayout_9.setObjectName(_fromUtf8("horizontalLayout_9"))
        self.lineEdit_Name = QtGui.QLineEdit(self.tab_EA)
        self.lineEdit_Name.setEnabled(True)
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 127))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 127))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
        self.lineEdit_Name.setPalette(palette)
        self.lineEdit_Name.setReadOnly(True)
        self.lineEdit_Name.setObjectName(_fromUtf8("lineEdit_Name"))
        self.horizontalLayout_9.addWidget(self.lineEdit_Name)
        self.label_lineEdit_ID_EA = QtGui.QLabel(self.tab_EA)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_lineEdit_ID_EA.sizePolicy().hasHeightForWidth())
        self.label_lineEdit_ID_EA.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setItalic(True)
        self.label_lineEdit_ID_EA.setFont(font)
        self.label_lineEdit_ID_EA.setText(QtGui.QApplication.translate("MainWindow", "AE_id:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_lineEdit_ID_EA.setObjectName(_fromUtf8("label_lineEdit_ID_EA"))
        self.horizontalLayout_9.addWidget(self.label_lineEdit_ID_EA)
        self.lineEdit_AE_id = QtGui.QLineEdit(self.tab_EA)
        self.lineEdit_AE_id.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit_AE_id.sizePolicy().hasHeightForWidth())
        self.lineEdit_AE_id.setSizePolicy(sizePolicy)
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(226, 229, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(226, 229, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
        self.lineEdit_AE_id.setPalette(palette)
        self.lineEdit_AE_id.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.lineEdit_AE_id.setReadOnly(True)
        self.lineEdit_AE_id.setObjectName(_fromUtf8("lineEdit_AE_id"))
        self.horizontalLayout_9.addWidget(self.lineEdit_AE_id)
        self.verticalLayout.addLayout(self.horizontalLayout_9)
        self.textEdit_definition = QtGui.QTextEdit(self.tab_EA)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.textEdit_definition.sizePolicy().hasHeightForWidth())
        self.textEdit_definition.setSizePolicy(sizePolicy)
        self.textEdit_definition.setMinimumSize(QtCore.QSize(80, 0))
        self.textEdit_definition.setMaximumSize(QtCore.QSize(16777215, 100))
        font = QtGui.QFont()
        font.setPointSize(8)
        self.textEdit_definition.setFont(font)
        self.textEdit_definition.setReadOnly(True)
        self.textEdit_definition.setObjectName(_fromUtf8("textEdit_definition"))
        self.verticalLayout.addWidget(self.textEdit_definition)
        self.horizontalLayout_8 = QtGui.QHBoxLayout()
        self.horizontalLayout_8.setSizeConstraint(QtGui.QLayout.SetNoConstraint)
        self.horizontalLayout_8.setContentsMargins(-1, -1, -1, 6)
        self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8"))
        self.label_subtype = QtGui.QLabel(self.tab_EA)
        self.label_subtype.setText(QtGui.QApplication.translate("MainWindow", "Subtype of:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_subtype.setObjectName(_fromUtf8("label_subtype"))
        self.horizontalLayout_8.addWidget(self.label_subtype)
        self.lineEdit_is_a = QtGui.QLineEdit(self.tab_EA)
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(0, 0, 127))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush)
        brush = QtGui.QBrush(QtGui.QColor(219, 219, 219))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(0, 0, 127))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush)
        brush = QtGui.QBrush(QtGui.QColor(219, 219, 219))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(165, 164, 164))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush)
        brush = QtGui.QBrush(QtGui.QColor(244, 244, 244))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
        self.lineEdit_is_a.setPalette(palette)
        self.lineEdit_is_a.setObjectName(_fromUtf8("lineEdit_is_a"))
        self.horizontalLayout_8.addWidget(self.lineEdit_is_a)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_8.addItem(spacerItem)
        self.verticalLayout.addLayout(self.horizontalLayout_8)
        self.tableWidget_attributes = QtGui.QTableWidget(self.tab_EA)
        self.tableWidget_attributes.setEnabled(True)
        self.tableWidget_attributes.setMaximumSize(QtCore.QSize(16777215, 16777215))
        font = QtGui.QFont()
        font.setPointSize(8)
        self.tableWidget_attributes.setFont(font)
        self.tableWidget_attributes.setAutoFillBackground(False)
        self.tableWidget_attributes.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
        self.tableWidget_attributes.setAlternatingRowColors(False)
        self.tableWidget_attributes.setObjectName(_fromUtf8("tableWidget_attributes"))
        self.tableWidget_attributes.setColumnCount(4)
        self.tableWidget_attributes.setRowCount(0)
        item = QtGui.QTableWidgetItem()
        item.setText(QtGui.QApplication.translate("MainWindow", "Name", None, QtGui.QApplication.UnicodeUTF8))
        self.tableWidget_attributes.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        item.setText(QtGui.QApplication.translate("MainWindow", "Type", None, QtGui.QApplication.UnicodeUTF8))
        self.tableWidget_attributes.setHorizontalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        item.setText(QtGui.QApplication.translate("MainWindow", "Value", None, QtGui.QApplication.UnicodeUTF8))
        self.tableWidget_attributes.setHorizontalHeaderItem(2, item)
        item = QtGui.QTableWidgetItem()
        item.setText(QtGui.QApplication.translate("MainWindow", "Inherited from", None, QtGui.QApplication.UnicodeUTF8))
        self.tableWidget_attributes.setHorizontalHeaderItem(3, item)
        self.verticalLayout.addWidget(self.tableWidget_attributes)
        self.horizontalLayout_6.addLayout(self.verticalLayout)
        self.gridLayout_4.addLayout(self.horizontalLayout_6, 0, 2, 1, 1)
        self.gridLayout_5 = QtGui.QGridLayout()
        self.gridLayout_5.setContentsMargins(-1, -1, 20, -1)
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.horizontalLayout_11 = QtGui.QHBoxLayout()
        self.horizontalLayout_11.setContentsMargins(-1, 0, 30, -1)
        self.horizontalLayout_11.setObjectName(_fromUtf8("horizontalLayout_11"))
        self.label_currentrelation = QtGui.QLabel(self.tab_EA)
        self.label_currentrelation.setEnabled(True)
        self.label_currentrelation.setMaximumSize(QtCore.QSize(123, 16777215))
        self.label_currentrelation.setText(QtGui.QApplication.translate("MainWindow", "Show relation: ", None, QtGui.QApplication.UnicodeUTF8))
        self.label_currentrelation.setObjectName(_fromUtf8("label_currentrelation"))
        self.horizontalLayout_11.addWidget(self.label_currentrelation)
        self.comboBox_relation_type = QtGui.QComboBox(self.tab_EA)
        self.comboBox_relation_type.setObjectName(_fromUtf8("comboBox_relation_type"))
        self.horizontalLayout_11.addWidget(self.comboBox_relation_type)
        self.gridLayout_5.addLayout(self.horizontalLayout_11, 1, 0, 1, 1)
        self.treeWidget_AE = QtGui.QTreeWidget(self.tab_EA)
        self.treeWidget_AE.setObjectName(_fromUtf8("treeWidget_AE"))
        self.treeWidget_AE.headerItem().setText(0, _fromUtf8("1"))
        self.gridLayout_5.addWidget(self.treeWidget_AE, 2, 0, 1, 1)
        self.comboBox_db = QtGui.QComboBox(self.tab_EA)
        self.comboBox_db.setObjectName(_fromUtf8("comboBox_db"))
        self.gridLayout_5.addWidget(self.comboBox_db, 0, 0, 1, 1)
        self.gridLayout_4.addLayout(self.gridLayout_5, 0, 1, 1, 1)
        self.gridLayout.addLayout(self.gridLayout_4, 2, 0, 3, 2)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/book_icon.gif")), QtGui.QIcon.Normal, QtGui.QIcon.On)
        self.tabWidget.addTab(self.tab_EA, icon1, _fromUtf8(""))
        self.tab_diagnosis = QtGui.QWidget()
        self.tab_diagnosis.setObjectName(_fromUtf8("tab_diagnosis"))
        self.horizontalLayoutWidget = QtGui.QWidget(self.tab_diagnosis)
        self.horizontalLayoutWidget.setGeometry(QtCore.QRect(20, 20, 941, 61))
        self.horizontalLayoutWidget.setObjectName(_fromUtf8("horizontalLayoutWidget"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.horizontalLayoutWidget)
        self.horizontalLayout.setMargin(0)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label_patient = QtGui.QLabel(self.horizontalLayoutWidget)
        self.label_patient.setText(QtGui.QApplication.translate("MainWindow", "Patient :", None, QtGui.QApplication.UnicodeUTF8))
        self.label_patient.setObjectName(_fromUtf8("label_patient"))
        self.horizontalLayout.addWidget(self.label_patient)
        self.comboBox_patient = QtGui.QComboBox(self.horizontalLayoutWidget)
        self.comboBox_patient.setMinimumSize(QtCore.QSize(300, 0))
        self.comboBox_patient.setObjectName(_fromUtf8("comboBox_patient"))
        self.horizontalLayout.addWidget(self.comboBox_patient)
        spacerItem1 = QtGui.QSpacerItem(0, 0, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem1)
        self.label_searchpatient = QtGui.QLabel(self.horizontalLayoutWidget)
        self.label_searchpatient.setText(QtGui.QApplication.translate("MainWindow", "Search :", None, QtGui.QApplication.UnicodeUTF8))
        self.label_searchpatient.setObjectName(_fromUtf8("label_searchpatient"))
        self.horizontalLayout.addWidget(self.label_searchpatient)
        self.lineEdit = QtGui.QLineEdit(self.horizontalLayoutWidget)
        self.lineEdit.setMinimumSize(QtCore.QSize(200, 0))
        self.lineEdit.setObjectName(_fromUtf8("lineEdit"))
        self.horizontalLayout.addWidget(self.lineEdit)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem2)
        self.pushButton = QtGui.QPushButton(self.horizontalLayoutWidget)
        self.pushButton.setText(QtGui.QApplication.translate("MainWindow", "New patient", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton.setObjectName(_fromUtf8("pushButton"))
        self.horizontalLayout.addWidget(self.pushButton)
        self.horizontalLayoutWidget_2 = QtGui.QWidget(self.tab_diagnosis)
        self.horizontalLayoutWidget_2.setGeometry(QtCore.QRect(20, 90, 941, 41))
        self.horizontalLayoutWidget_2.setObjectName(_fromUtf8("horizontalLayoutWidget_2"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.horizontalLayoutWidget_2)
        self.horizontalLayout_2.setSizeConstraint(QtGui.QLayout.SetDefaultConstraint)
        self.horizontalLayout_2.setMargin(0)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.label_name = QtGui.QLabel(self.horizontalLayoutWidget_2)
        self.label_name.setEnabled(True)
        self.label_name.setText(QtGui.QApplication.translate("MainWindow", "Name :", None, QtGui.QApplication.UnicodeUTF8))
        self.label_name.setObjectName(_fromUtf8("label_name"))
        self.horizontalLayout_2.addWidget(self.label_name)
        self.lineEdit_name = QtGui.QLineEdit(self.horizontalLayoutWidget_2)
        self.lineEdit_name.setMinimumSize(QtCore.QSize(100, 0))
        self.lineEdit_name.setObjectName(_fromUtf8("lineEdit_name"))
        self.horizontalLayout_2.addWidget(self.lineEdit_name)
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem3)
        self.label_surname = QtGui.QLabel(self.horizontalLayoutWidget_2)
        self.label_surname.setText(QtGui.QApplication.translate("MainWindow", "Surname : ", None, QtGui.QApplication.UnicodeUTF8))
        self.label_surname.setObjectName(_fromUtf8("label_surname"))
        self.horizontalLayout_2.addWidget(self.label_surname)
        self.lineEdit_surname = QtGui.QLineEdit(self.horizontalLayoutWidget_2)
        self.lineEdit_surname.setMinimumSize(QtCore.QSize(100, 0))
        self.lineEdit_surname.setObjectName(_fromUtf8("lineEdit_surname"))
        self.horizontalLayout_2.addWidget(self.lineEdit_surname)
        spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem4)
        self.label_sexe = QtGui.QLabel(self.horizontalLayoutWidget_2)
        self.label_sexe.setText(QtGui.QApplication.translate("MainWindow", "Sexe", None, QtGui.QApplication.UnicodeUTF8))
        self.label_sexe.setObjectName(_fromUtf8("label_sexe"))
        self.horizontalLayout_2.addWidget(self.label_sexe)
        self.comboBox = QtGui.QComboBox(self.horizontalLayoutWidget_2)
        self.comboBox.setObjectName(_fromUtf8("comboBox"))
        self.horizontalLayout_2.addWidget(self.comboBox)
        spacerItem5 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem5)
        self.label_birtdate = QtGui.QLabel(self.horizontalLayoutWidget_2)
        self.label_birtdate.setText(QtGui.QApplication.translate("MainWindow", "Birth Date :", None, QtGui.QApplication.UnicodeUTF8))
        self.label_birtdate.setObjectName(_fromUtf8("label_birtdate"))
        self.horizontalLayout_2.addWidget(self.label_birtdate)
        self.dateEdit = QtGui.QDateEdit(self.horizontalLayoutWidget_2)
        self.dateEdit.setObjectName(_fromUtf8("dateEdit"))
        self.horizontalLayout_2.addWidget(self.dateEdit)
        spacerItem6 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem6)
        self.label_family = QtGui.QLabel(self.horizontalLayoutWidget_2)
        self.label_family.setText(QtGui.QApplication.translate("MainWindow", "Family status", None, QtGui.QApplication.UnicodeUTF8))
        self.label_family.setObjectName(_fromUtf8("label_family"))
        self.horizontalLayout_2.addWidget(self.label_family)
        self.comboBox_family = QtGui.QComboBox(self.horizontalLayoutWidget_2)
        self.comboBox_family.setMinimumSize(QtCore.QSize(80, 0))
        self.comboBox_family.setObjectName(_fromUtf8("comboBox_family"))
        self.horizontalLayout_2.addWidget(self.comboBox_family)
        self.label_nb_of_child = QtGui.QLabel(self.horizontalLayoutWidget_2)
        self.label_nb_of_child.setText(QtGui.QApplication.translate("MainWindow", "Child(s) :", None, QtGui.QApplication.UnicodeUTF8))
        self.label_nb_of_child.setObjectName(_fromUtf8("label_nb_of_child"))
        self.horizontalLayout_2.addWidget(self.label_nb_of_child)
        self.spinBox = QtGui.QSpinBox(self.horizontalLayoutWidget_2)
        self.spinBox.setObjectName(_fromUtf8("spinBox"))
        self.horizontalLayout_2.addWidget(self.spinBox)
        self.horizontalLayoutWidget_3 = QtGui.QWidget(self.tab_diagnosis)
        self.horizontalLayoutWidget_3.setGeometry(QtCore.QRect(20, 199, 941, 80))
        self.horizontalLayoutWidget_3.setObjectName(_fromUtf8("horizontalLayoutWidget_3"))
        self.horizontalLayout_3 = QtGui.QHBoxLayout(self.horizontalLayoutWidget_3)
        self.horizontalLayout_3.setSizeConstraint(QtGui.QLayout.SetDefaultConstraint)
        self.horizontalLayout_3.setMargin(0)
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.label_way_of_life = QtGui.QLabel(self.horizontalLayoutWidget_3)
        self.label_way_of_life.setEnabled(False)
        self.label_way_of_life.setText(QtGui.QApplication.translate("MainWindow", "Way of life :", None, QtGui.QApplication.UnicodeUTF8))
        self.label_way_of_life.setObjectName(_fromUtf8("label_way_of_life"))
        self.horizontalLayout_3.addWidget(self.label_way_of_life)
        self.plainTextEdit_life = QtGui.QPlainTextEdit(self.horizontalLayoutWidget_3)
        self.plainTextEdit_life.setEnabled(False)
        self.plainTextEdit_life.setObjectName(_fromUtf8("plainTextEdit_life"))
        self.horizontalLayout_3.addWidget(self.plainTextEdit_life)
        self.horizontalLayoutWidget_4 = QtGui.QWidget(self.tab_diagnosis)
        self.horizontalLayoutWidget_4.setGeometry(QtCore.QRect(19, 139, 941, 80))
        self.horizontalLayoutWidget_4.setObjectName(_fromUtf8("horizontalLayoutWidget_4"))
        self.horizontalLayout_4 = QtGui.QHBoxLayout(self.horizontalLayoutWidget_4)
        self.horizontalLayout_4.setSizeConstraint(QtGui.QLayout.SetNoConstraint)
        self.horizontalLayout_4.setMargin(0)
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.label_phone = QtGui.QLabel(self.horizontalLayoutWidget_4)
        self.label_phone.setEnabled(False)
        self.label_phone.setText(QtGui.QApplication.translate("MainWindow", "Phone(s) Number(s) :", None, QtGui.QApplication.UnicodeUTF8))
        self.label_phone.setObjectName(_fromUtf8("label_phone"))
        self.horizontalLayout_4.addWidget(self.label_phone)
        self.plainTextEdit = QtGui.QPlainTextEdit(self.horizontalLayoutWidget_4)
        self.plainTextEdit.setEnabled(False)
        self.plainTextEdit.setObjectName(_fromUtf8("plainTextEdit"))
        self.horizontalLayout_4.addWidget(self.plainTextEdit)
        self.label_mail = QtGui.QLabel(self.horizontalLayoutWidget_4)
        self.label_mail.setEnabled(False)
        self.label_mail.setText(QtGui.QApplication.translate("MainWindow", "Mail :", None, QtGui.QApplication.UnicodeUTF8))
        self.label_mail.setObjectName(_fromUtf8("label_mail"))
        self.horizontalLayout_4.addWidget(self.label_mail)
        self.lineEdit_mail = QtGui.QLineEdit(self.horizontalLayoutWidget_4)
        self.lineEdit_mail.setEnabled(False)
        self.lineEdit_mail.setObjectName(_fromUtf8("lineEdit_mail"))
        self.horizontalLayout_4.addWidget(self.lineEdit_mail)
        self.label_adress = QtGui.QLabel(self.horizontalLayoutWidget_4)
        self.label_adress.setEnabled(False)
        self.label_adress.setText(QtGui.QApplication.translate("MainWindow", "Adress:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_adress.setObjectName(_fromUtf8("label_adress"))
        self.horizontalLayout_4.addWidget(self.label_adress)
        self.plainTextEdit_2 = QtGui.QPlainTextEdit(self.horizontalLayoutWidget_4)
        self.plainTextEdit_2.setEnabled(False)
        self.plainTextEdit_2.setObjectName(_fromUtf8("plainTextEdit_2"))
        self.horizontalLayout_4.addWidget(self.plainTextEdit_2)
        self.gridLayoutWidget = QtGui.QWidget(self.tab_diagnosis)
        self.gridLayoutWidget.setGeometry(QtCore.QRect(19, 259, 941, 271))
        self.gridLayoutWidget.setObjectName(_fromUtf8("gridLayoutWidget"))
        self.gridLayout_6 = QtGui.QGridLayout(self.gridLayoutWidget)
        self.gridLayout_6.setSizeConstraint(QtGui.QLayout.SetNoConstraint)
        self.gridLayout_6.setMargin(0)
        self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
        self.tableView_treatment = QtGui.QTableView(self.gridLayoutWidget)
        self.tableView_treatment.setObjectName(_fromUtf8("tableView_treatment"))
        self.gridLayout_6.addWidget(self.tableView_treatment, 2, 6, 1, 1)
        self.tableView_history = QtGui.QTableView(self.gridLayoutWidget)
        self.tableView_history.setObjectName(_fromUtf8("tableView_history"))
        self.gridLayout_6.addWidget(self.tableView_history, 2, 0, 1, 1)
        self.label_history = QtGui.QLabel(self.gridLayoutWidget)
        self.label_history.setText(QtGui.QApplication.translate("MainWindow", "Medical History", None, QtGui.QApplication.UnicodeUTF8))
        self.label_history.setObjectName(_fromUtf8("label_history"))
        self.gridLayout_6.addWidget(self.label_history, 0, 0, 1, 1)
        self.label_treatment = QtGui.QLabel(self.gridLayoutWidget)
        self.label_treatment.setText(QtGui.QApplication.translate("MainWindow", "Ongoing Treament", None, QtGui.QApplication.UnicodeUTF8))
        self.label_treatment.setObjectName(_fromUtf8("label_treatment"))
        self.gridLayout_6.addWidget(self.label_treatment, 0, 6, 1, 1)
        self.verticalLayout_3 = QtGui.QVBoxLayout()
        self.verticalLayout_3.setContentsMargins(-1, -1, 6, -1)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        spacerItem7 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_3.addItem(spacerItem7)
        self.pushButton_addtreatment = QtGui.QPushButton(self.gridLayoutWidget)
        self.pushButton_addtreatment.setText(_fromUtf8(""))
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/db_add.png")), QtGui.QIcon.Normal, QtGui.QIcon.On)
        self.pushButton_addtreatment.setIcon(icon2)
        self.pushButton_addtreatment.setIconSize(QtCore.QSize(24, 24))
        self.pushButton_addtreatment.setObjectName(_fromUtf8("pushButton_addtreatment"))
        self.verticalLayout_3.addWidget(self.pushButton_addtreatment)
        self.pushButton_deltreatment = QtGui.QPushButton(self.gridLayoutWidget)
        self.pushButton_deltreatment.setText(_fromUtf8(""))
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/db_remove.png")), QtGui.QIcon.Normal, QtGui.QIcon.On)
        self.pushButton_deltreatment.setIcon(icon3)
        self.pushButton_deltreatment.setIconSize(QtCore.QSize(24, 24))
        self.pushButton_deltreatment.setObjectName(_fromUtf8("pushButton_deltreatment"))
        self.verticalLayout_3.addWidget(self.pushButton_deltreatment)
        spacerItem8 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_3.addItem(spacerItem8)
        self.gridLayout_6.addLayout(self.verticalLayout_3, 2, 7, 1, 1)
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setSizeConstraint(QtGui.QLayout.SetFixedSize)
        self.verticalLayout_2.setContentsMargins(-1, -1, 6, -1)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        spacerItem9 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem9)
        self.pushButton_addhistory = QtGui.QPushButton(self.gridLayoutWidget)
        self.pushButton_addhistory.setText(_fromUtf8(""))
        self.pushButton_addhistory.setIcon(icon2)
        self.pushButton_addhistory.setIconSize(QtCore.QSize(24, 24))
        self.pushButton_addhistory.setObjectName(_fromUtf8("pushButton_addhistory"))
        self.verticalLayout_2.addWidget(self.pushButton_addhistory)
        self.pushButton_delhistory = QtGui.QPushButton(self.gridLayoutWidget)
        self.pushButton_delhistory.setText(_fromUtf8(""))
        self.pushButton_delhistory.setIcon(icon3)
        self.pushButton_delhistory.setIconSize(QtCore.QSize(24, 24))
        self.pushButton_delhistory.setObjectName(_fromUtf8("pushButton_delhistory"))
        self.verticalLayout_2.addWidget(self.pushButton_delhistory)
        spacerItem10 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem10)
        self.gridLayout_6.addLayout(self.verticalLayout_2, 2, 4, 1, 1)
        self.line = QtGui.QFrame(self.gridLayoutWidget)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setLineWidth(3)
        self.line.setFrameShape(QtGui.QFrame.VLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName(_fromUtf8("line"))
        self.gridLayout_6.addWidget(self.line, 2, 5, 1, 1)
        self.horizontalLayoutWidget_5 = QtGui.QWidget(self.tab_diagnosis)
        self.horizontalLayoutWidget_5.setGeometry(QtCore.QRect(20, 530, 941, 41))
        self.horizontalLayoutWidget_5.setObjectName(_fromUtf8("horizontalLayoutWidget_5"))
        self.horizontalLayout_5 = QtGui.QHBoxLayout(self.horizontalLayoutWidget_5)
        self.horizontalLayout_5.setMargin(0)
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.buttonBox = QtGui.QDialogButtonBox(self.horizontalLayoutWidget_5)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Discard|QtGui.QDialogButtonBox.Save)
        self.buttonBox.setCenterButtons(True)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.horizontalLayout_5.addWidget(self.buttonBox)
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/identity.png")), QtGui.QIcon.Normal, QtGui.QIcon.On)
        self.tabWidget.addTab(self.tab_diagnosis, icon4, _fromUtf8(""))
        self.tab_patient = QtGui.QWidget()
        self.tab_patient.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates))
        self.tab_patient.setObjectName(_fromUtf8("tab_patient"))
        self.gridLayout_2 = QtGui.QGridLayout(self.tab_patient)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.treeView = QtGui.QTreeView(self.tab_patient)
        self.treeView.setObjectName(_fromUtf8("treeView"))
        self.gridLayout_2.addWidget(self.treeView, 0, 0, 1, 1)
        icon5 = QtGui.QIcon()
        icon5.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/icon.png")), QtGui.QIcon.Normal, QtGui.QIcon.On)
        self.tabWidget.addTab(self.tab_patient, icon5, _fromUtf8(""))
        self.gridLayout_3.addWidget(self.tabWidget, 0, 0, 1, 1)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menuBar = QtGui.QMenuBar(MainWindow)
        self.menuBar.setGeometry(QtCore.QRect(0, 0, 1000, 25))
        self.menuBar.setObjectName(_fromUtf8("menuBar"))
        self.menu_About = QtGui.QMenu(self.menuBar)
        self.menu_About.setTitle(QtGui.QApplication.translate("MainWindow", "&Help", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_About.setObjectName(_fromUtf8("menu_About"))
        self.menuTools = QtGui.QMenu(self.menuBar)
        font = QtGui.QFont()
        font.setUnderline(False)
        self.menuTools.setFont(font)
        self.menuTools.setTearOffEnabled(False)
        self.menuTools.setTitle(QtGui.QApplication.translate("MainWindow", "&Tools", None, QtGui.QApplication.UnicodeUTF8))
        self.menuTools.setObjectName(_fromUtf8("menuTools"))
        self.menuLanguage = QtGui.QMenu(self.menuTools)
        self.menuLanguage.setTitle(QtGui.QApplication.translate("MainWindow", "Translate", None, QtGui.QApplication.UnicodeUTF8))
        self.menuLanguage.setObjectName(_fromUtf8("menuLanguage"))
        self.menuEdit = QtGui.QMenu(self.menuBar)
        self.menuEdit.setTitle(QtGui.QApplication.translate("MainWindow", "&Edit", None, QtGui.QApplication.UnicodeUTF8))
        self.menuEdit.setObjectName(_fromUtf8("menuEdit"))
        self.menuFile = QtGui.QMenu(self.menuBar)
        self.menuFile.setTitle(QtGui.QApplication.translate("MainWindow", "File", None, QtGui.QApplication.UnicodeUTF8))
        self.menuFile.setObjectName(_fromUtf8("menuFile"))
        MainWindow.setMenuBar(self.menuBar)
        self.statusBar = QtGui.QStatusBar(MainWindow)
        self.statusBar.setObjectName(_fromUtf8("statusBar"))
        MainWindow.setStatusBar(self.statusBar)
        self.action_About_Qt = QtGui.QAction(MainWindow)
        icon6 = QtGui.QIcon()
        icon6.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/qt.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.action_About_Qt.setIcon(icon6)
        self.action_About_Qt.setText(QtGui.QApplication.translate("MainWindow", "About &Qt", None, QtGui.QApplication.UnicodeUTF8))
        self.action_About_Qt.setShortcutContext(QtCore.Qt.WindowShortcut)
        self.action_About_Qt.setObjectName(_fromUtf8("action_About_Qt"))
        self.action_About_myCorporisFabrica = QtGui.QAction(MainWindow)
        icon7 = QtGui.QIcon()
        icon7.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/about.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.action_About_myCorporisFabrica.setIcon(icon7)
        self.action_About_myCorporisFabrica.setText(QtGui.QApplication.translate("MainWindow", "&About myCorporisFabrica", None, QtGui.QApplication.UnicodeUTF8))
        self.action_About_myCorporisFabrica.setObjectName(_fromUtf8("action_About_myCorporisFabrica"))
        self.action_Help = QtGui.QAction(MainWindow)
        icon8 = QtGui.QIcon()
        icon8.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/help.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.action_Help.setIcon(icon8)
        self.action_Help.setText(QtGui.QApplication.translate("MainWindow", "&Help", None, QtGui.QApplication.UnicodeUTF8))
        self.action_Help.setObjectName(_fromUtf8("action_Help"))
        self.action_Check_db_integrity = QtGui.QAction(MainWindow)
        icon9 = QtGui.QIcon()
        icon9.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/db_status.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.action_Check_db_integrity.setIcon(icon9)
        self.action_Check_db_integrity.setText(QtGui.QApplication.translate("MainWindow", "&Check integrity of the database", None, QtGui.QApplication.UnicodeUTF8))
        self.action_Check_db_integrity.setShortcut(_fromUtf8(""))
        self.action_Check_db_integrity.setShortcutContext(QtCore.Qt.WindowShortcut)
        self.action_Check_db_integrity.setObjectName(_fromUtf8("action_Check_db_integrity"))
        self.action_Find_AE = QtGui.QAction(MainWindow)
        icon10 = QtGui.QIcon()
        icon10.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/search.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.action_Find_AE.setIcon(icon10)
        self.action_Find_AE.setText(QtGui.QApplication.translate("MainWindow", "&Find", None, QtGui.QApplication.UnicodeUTF8))
        self.action_Find_AE.setShortcut(QtGui.QApplication.translate("MainWindow", "Ctrl+F", None, QtGui.QApplication.UnicodeUTF8))
        self.action_Find_AE.setObjectName(_fromUtf8("action_Find_AE"))
        self.actionEnglish = QtGui.QAction(MainWindow)
        self.actionEnglish.setCheckable(True)
        self.actionEnglish.setChecked(True)
        icon11 = QtGui.QIcon()
        icon11.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/soft3d_flags/EN.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionEnglish.setIcon(icon11)
        self.actionEnglish.setText(QtGui.QApplication.translate("MainWindow", "English", None, QtGui.QApplication.UnicodeUTF8))
        self.actionEnglish.setObjectName(_fromUtf8("actionEnglish"))
        self.actionFrench = QtGui.QAction(MainWindow)
        self.actionFrench.setCheckable(True)
        icon12 = QtGui.QIcon()
        icon12.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/soft3d_flags/FR.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionFrench.setIcon(icon12)
        self.actionFrench.setText(QtGui.QApplication.translate("MainWindow", "French", None, QtGui.QApplication.UnicodeUTF8))
        self.actionFrench.setObjectName(_fromUtf8("actionFrench"))
        self.actionLatin = QtGui.QAction(MainWindow)
        self.actionLatin.setCheckable(True)
        icon13 = QtGui.QIcon()
        icon13.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/soft3d_flags/latin.gif")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionLatin.setIcon(icon13)
        self.actionLatin.setText(QtGui.QApplication.translate("MainWindow", "Latin", None, QtGui.QApplication.UnicodeUTF8))
        self.actionLatin.setObjectName(_fromUtf8("actionLatin"))
        self.actionGerman = QtGui.QAction(MainWindow)
        self.actionGerman.setCheckable(True)
        icon14 = QtGui.QIcon()
        icon14.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/soft3d_flags/DE.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionGerman.setIcon(icon14)
        self.actionGerman.setText(QtGui.QApplication.translate("MainWindow", "German", None, QtGui.QApplication.UnicodeUTF8))
        self.actionGerman.setObjectName(_fromUtf8("actionGerman"))
        self.actionExport_to_SOFA = QtGui.QAction(MainWindow)
        icon15 = QtGui.QIcon()
        icon15.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/sofa.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionExport_to_SOFA.setIcon(icon15)
        self.actionExport_to_SOFA.setText(QtGui.QApplication.translate("MainWindow", "Export to SOFA...", None, QtGui.QApplication.UnicodeUTF8))
        self.actionExport_to_SOFA.setObjectName(_fromUtf8("actionExport_to_SOFA"))
        self.actionExport = QtGui.QAction(MainWindow)
        self.actionExport.setText(QtGui.QApplication.translate("MainWindow", "Export...", None, QtGui.QApplication.UnicodeUTF8))
        self.actionExport.setObjectName(_fromUtf8("actionExport"))
        self.actionImport = QtGui.QAction(MainWindow)
        self.actionImport.setText(QtGui.QApplication.translate("MainWindow", "Import...", None, QtGui.QApplication.UnicodeUTF8))
        self.actionImport.setObjectName(_fromUtf8("actionImport"))
        self.menu_About.addAction(self.action_Help)
        self.menu_About.addSeparator()
        self.menu_About.addAction(self.action_About_myCorporisFabrica)
        self.menu_About.addAction(self.action_About_Qt)
        self.menuLanguage.addAction(self.actionEnglish)
        self.menuLanguage.addAction(self.actionFrench)
        self.menuLanguage.addAction(self.actionGerman)
        self.menuLanguage.addAction(self.actionLatin)
        self.menuTools.addAction(self.action_Check_db_integrity)
        self.menuTools.addSeparator()
        self.menuTools.addAction(self.menuLanguage.menuAction())
        self.menuTools.addAction(self.actionExport_to_SOFA)
        self.menuEdit.addAction(self.action_Find_AE)
        self.menuFile.addAction(self.actionExport)
        self.menuFile.addAction(self.actionImport)
        self.menuBar.addAction(self.menuFile.menuAction())
        self.menuBar.addAction(self.menuEdit.menuAction())
        self.menuBar.addAction(self.menuTools.menuAction())
        self.menuBar.addAction(self.menu_About.menuAction())
        self.label_currentrelation.setBuddy(self.comboBox_relation_type)

        self.retranslateUi(MainWindow)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
        MainWindow.setTabOrder(self.comboBox_patient, self.lineEdit)
        MainWindow.setTabOrder(self.lineEdit, self.pushButton)
        MainWindow.setTabOrder(self.pushButton, self.lineEdit_name)
        MainWindow.setTabOrder(self.lineEdit_name, self.lineEdit_surname)
        MainWindow.setTabOrder(self.lineEdit_surname, self.dateEdit)
        MainWindow.setTabOrder(self.dateEdit, self.comboBox_family)
        MainWindow.setTabOrder(self.comboBox_family, self.spinBox)
        MainWindow.setTabOrder(self.spinBox, self.lineEdit_mail)
        MainWindow.setTabOrder(self.lineEdit_mail, self.plainTextEdit_2)
        MainWindow.setTabOrder(self.plainTextEdit_2, self.plainTextEdit_life)
        MainWindow.setTabOrder(self.plainTextEdit_life, self.tableView_treatment)
        MainWindow.setTabOrder(self.tableView_treatment, self.tableView_history)
        MainWindow.setTabOrder(self.tableView_history, self.comboBox)
        MainWindow.setTabOrder(self.comboBox, self.pushButton_delhistory)
        MainWindow.setTabOrder(self.pushButton_delhistory, self.pushButton_addhistory)
        MainWindow.setTabOrder(self.pushButton_addhistory, self.pushButton_deltreatment)
        MainWindow.setTabOrder(self.pushButton_deltreatment, self.pushButton_addtreatment)
        MainWindow.setTabOrder(self.pushButton_addtreatment, self.plainTextEdit)
        MainWindow.setTabOrder(self.plainTextEdit, self.buttonBox)

    def retranslateUi(self, MainWindow):
        self.tableWidget_attributes.setSortingEnabled(False)
        item = self.tableWidget_attributes.horizontalHeaderItem(0)
        item = self.tableWidget_attributes.horizontalHeaderItem(1)
        item = self.tableWidget_attributes.horizontalHeaderItem(2)
        item = self.tableWidget_attributes.horizontalHeaderItem(3)
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_EA), QtGui.QApplication.translate("MainWindow", "Ontology", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_diagnosis), QtGui.QApplication.translate("MainWindow", "Patient", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_patient), QtGui.QApplication.translate("MainWindow", "Diagnosis tool", None, QtGui.QApplication.UnicodeUTF8))

import resources_rc
